<template>
  <div id="app">
    <router-view />

    <Spin id="spin-box-one" class="spin-box" size="large" fix>
      <Icon type="ios-loading" size=18 class="spin-icon-load"></Icon>
      <div>加载中...</div>
    </Spin>
  </div>
</template>

<script>
export default {
  name: 'App',
}
</script>

<style lang="less" >
.size {
  width: 100%;
  height: 100%;
}
html,
body {
  .size;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#app {
  .size;
}

.spin-box {
  display: none;
  z-index: 999 !important;
  background-color: rgba(255, 255, 255, 0.3) !important;

  .spin-icon-load {
    font-size: 32px !important;
  }
}
</style>
